Of first-class methods and dynamic scope

نویسندگان

  • Theo D'Hondt
  • Wolfgang De Meuter
چکیده

When considering the wide range of object-oriented programming languages, one hardly ever finds methods to be first-class entities. At first sight, this phenomenon seems to be caused by a concern for an efficient implementation. Closer inspection however, reveals more subtle grounds that are rooted in issues more fundamental than performance. This paper investigates this aspect of object-oriented programming languages using an extensible object model that is sufficiently simple to reveal the various concerns. In particular, it argues in favor of dynamic scoping as a setting in which to manipulate first-class methods. RÉSUMÉ. Parmi l’éventail très large de langages orientés objet, la notion de méthodes de première classe est en général absente. A première vue, ce phénomène semble être causé par un souci d’efficacité. Une étude plus approfondie dévoile néanmoins des raisons plus subtiles, ayant une origine dans des considérations plus fondamentales. Ce papier examine cet aspect de langages de programmation orientés objet en utilisant un modèle objet extensible qui est suffisamment simple pour exposer les soucis divers. Nous y proposerons en particulier de choisir pour la portée dynamique de variables comme contexte optimal dans lequel utiliser des méthodes de première classe.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A heuristic method for consumable resource allocation in multi-class dynamic PERT networks

This investigation presents a heuristic method for consumable resource allocation problem in multi-class dynamic Project Evaluation and Review Technique (PERT) networks, where new projects from different classes (types) arrive to system according to independent Poisson processes with different arrival rates. Each activity of any project is operated at a devoted service station located in a n...

متن کامل

Transverse and longitudinal dynamic modeling of bimorph piezoelectric actuators with investigating the effect of vibrational modes

  Bimorph piezoelectric cantilevered (BPC) actuators have recently received a great deal of attention in a variety of micro-electromechanical systems (MEMS) applications. Dynamic modeling of such actuators needs to be improved in order to enhance the control performance. Previous works have usually taken transv...

متن کامل

Optimal Roll Center Height of Front McPherson Suspension System for a Conceptual Class A Vehicle

In this paper, the effects of roll center height of McPherson suspension mechanism on dynamic behaviour of a vehicle are first studied, and then the optimum location of roll center of this suspension system is determined for a conceptual Class A vehicle. ADAMS/Car software was used for the analysis of vehicle dynamic behaviour in different positions of suspension roll center. Next, optimization...

متن کامل

Sensitivity Analysis of Water Flooding Optimization by Dynamic Optimization

This study concerns the scope to improve water flooding in heterogeneous reservoirs. We used an existing, in-house developed, optimization program consisting of a reservoir simulator in combination with an adjoint-based optimal control algorithm. In particular we aimed to examine the scope for optimization in a two-dimensional horizontal reservoir containing a single high permeable streak, ...

متن کامل

Expanding HTA – Correcting a Misattribution, Clarifying the Scope of HTA and CEA; Comment on “Ethics in HTA: Examining the ‘Need for Expansion’”

Abrishami, Oortwijn, and Hofman (AOH) attribute to me a position I do not hold and an argument I did not make. The purpose of this note is make clear what my position actually is and to clarify the main differences between health technology assessment (HTA) and cost-effectiveness analysis (CEA).

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • L'OBJET

دوره 9  شماره 

صفحات  -

تاریخ انتشار 2003